lib/gpg: Show information for expired keys
authorDan Nicholson <nicholson@endlessm.com>
Mon, 10 Jun 2019 17:05:21 +0000 (12:05 -0500)
committerAtomic Bot <atomic-devel@projectatomic.io>
Wed, 19 Jun 2019 17:17:11 +0000 (17:17 +0000)
commitd714e622b8318f38007d50471b8e3bc565f3c0b6
tree41d19ce41b658a3c5ff03f8868e9a7ba1ec30c5f
parent901c2f5e5fe3ccefbdb005ee593848d2630c5d39
lib/gpg: Show information for expired keys

Introduce a new signature attribute for the key expiration timestamp and
display it when the key has a non-zero expiration time. Without this,
the error shown is `BAD signature`, which isn't correct.

Closes: #1872
Approved by: cgwalters
src/libostree/ostree-gpg-verify-result.c
src/libostree/ostree-gpg-verify-result.h
tests/test-gpg-verify-result.c